package com.gagakuai.test;

import java.util.concurrent.CompletableFuture;

/*
 * @program: settement
 * @description:
 * @author: houhong
 * @create: 2022-11-27 13:41
 */
public interface MoneyService {

    public CompletableFuture<String> addMoney(int money) throws InterruptedException;

    public CompletableFuture<String> subMoney(int money) throws InterruptedException;
}